Skip to content

Add a usedEncoding method to HTML5Parser, fix #121 #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

SimonSapin
Copy link
Contributor

This turned out to be easy enough to add.

I don’t really like the usedEncoding name, but I don’t have a better idea. Feel free to suggest something else.

@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/445

This is an external review system which you may optionally use for the code review of your pull request.

@gsnedders
Copy link
Member

Do we actually want this to be a method and not just an attribute?

@SimonSapin
Copy link
Contributor Author

On the parser it could be a property rather than a method. I can update the PR if you prefer that, I don’t have a strong opinion.

@SimonSapin
Copy link
Contributor Author

One changed line was missing in the last commit, which I just updated. Force-pushing an amended commit has apparently upset Critic…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants